package com.guoxin.principle.segregation;

/**
 * @author guoxin
 * @date 2019/8/14
 */
public class A {

    public void depend1(Interface1 i){
        i.operation1();
    }

    public void depend2(Interface2 i){
        i.operation2();
    }

    public void depend3(Interface2 i){
        i.operation3();
    }
}
